package com.matrix.order.infrastructure.persistence.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author 有点甜
 * @since 2025/7/29
 */
@Data
@TableName("t_order_payment")
public class OrderPaymentPO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long orderId;

    private String paymentNo;

    private BigDecimal amount;

    private Integer status;

    private LocalDateTime paymentTime;

    private String description;

    private LocalDateTime createTime;
}
